package com.shop.loan.model.vo;

import lombok.Getter;
import lombok.Setter;
import xyz.erupt.annotation.Erupt;
import xyz.erupt.annotation.EruptField;
import xyz.erupt.annotation.sub_field.Edit;
import xyz.erupt.annotation.sub_field.EditType;
import xyz.erupt.annotation.sub_field.sub_edit.ChoiceType;
import xyz.erupt.annotation.sub_field.sub_edit.InputType;
import xyz.erupt.annotation.sub_field.sub_edit.VL;

import java.math.BigDecimal;

@Erupt(name = "审核")
@Getter
@Setter
public class PlatformLogisticAuthVo extends HyperModelCreatorBaseVo {

    @EruptField(
            edit = @Edit(
                    title = "操作",
                    type = EditType.CHOICE,
                    notNull = true,
                    choiceType = @ChoiceType(
                            vl = {
                                    @VL(label = "正常签收", value = "1"),
                                    @VL(label = "退款", value = "2"),
                            }
                    ))
    )
    private Integer type;


    @EruptField(
            edit = @Edit(title = "违约金额", desc = "退款时候请填写")

    )
    private BigDecimal subMoney;


    @EruptField(
            edit = @Edit(title = "备注")

    )
    private String remark;

    @EruptField(
            edit = @Edit(
                    title = "操作密码",
                    notNull = true,
                    inputType = @InputType(type = "password"))

    )
    private String opPassword;

}
